/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pkg.iss.model;

import java.io.Serializable;

/**
 *
 * @author Emanuel
 */
public class Message implements Serializable {
    
    private String request;
    private int[][] intersection = new int[2][2];
    private Action action;

    /**
     * @return the request
     */
    public String getRequest() {
        return request;
    }

    /**
     * @param request the request to set
     */
    public void setRequest(String request) {
        this.request = request;
    }

    /**
     * @return the intersection
     */
    public int[][] getIntersection() {
        return intersection;
    }

    /**
     * @param intersection the intersection to set
     */
    public void setIntersection(int[][] intersection) {
        this.intersection = intersection;
    }

    /**
     * @return the action
     */
    public Action getAction() {
        return action;
    }

    /**
     * @param action the action to set
     */
    public void setAction(Action action) {
        this.action = action;
    }
    
    public enum Action {
        START, LIVE
    }
    
}
